package com.baizhi.springboot.dao;

import com.baizhi.springboot.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface UserDao {
    List<User> selectUserByPage(@Param("offset")Integer offset, @Param("limit")Integer limit);

    Integer selectCount();

    void updateUserStatus(Integer id);

    List<User> selectAllUser();

    void daoru(List<User> list);

    List<Map> getUserSex();

    List<Map> getUserProvince();
}
